#! /usr/bin/python3
# coding:utf-8

from elasticsearch import Elasticsearch

es = Elasticsearch(hosts='http://127.0.0.1:9200')
print(es.search(index='bid'))